Delete
Delete is an application command that deletes one or more objects.
SYNTAX
delete referenceToObject
PARAMETER
-
referenceToObject
-
A reference to the object or objects to be deleted.
Class:
Reference
EXAMPLES
tell application "Finder"
delete file "old report" of startup disk
end tell
tell application "Desktop Printer Manager"
delete desktop printer "Spot"
end tell
tell document "Simple" of application "AppleWorks"
delete words 1 through 5 of text body
end tell
© 1999 Apple Computer, Inc. – (Last Updated 21 May 99)